package name.panitz.ludens.strategy;
class RemoveStone implements SetStone{
  Position pos;
  RemoveStone(Position pos){this.pos=pos;}
  RemoveStone(byte tr,byte p){this.pos=new Position(tr,p);}
  public  Position getPosition(){return pos;}

  public Muehle move(Muehle m){
    m.b[pos.triblet][pos.pos]=Muehle.NONE;
    m.playerStones[m.player%2] -= 1;
    return m;
  }
  @Override public String toString(){
      return ""+pos;
  }
}

